package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: zhangzhe
 * @Date: 2023/9/26
 */
@Data
@TableName(value = "sys_res")
@ApiModel("项目资源库表")
public class SysRes {

    @TableId
    @ApiModelProperty("资源id")
    private Long id;

    @ApiModelProperty("资源id")
    private String filePath;

    @ApiModelProperty("文件类型：1:图片,2:视频(原定义1:文字,2:图片,3:视频)")
    private Integer fileType;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("文件状态  0:停用，1:启用")
    private Integer state;

    @ApiModelProperty("用户id")
    private Long userId;
}
